package org.example.loadbalancerdemo;

import org.example.loadbalancerdemo.LoadBalance.CustomLoadBalancerCofiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClientConfiguration;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;

@SpringBootApplication
@LoadBalancerClients(defaultConfiguration = CustomLoadBalancerCofiguration.class)
public class LoadBalancerDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(LoadBalancerDemoApplication.class, args);
    }

}
